package org.jeecg.modules.demo.ch.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 余量表
 * @Author: jeecg-boot
 * @Date:   2022-09-19
 * @Version: V1.0
 */
@Data
@TableName("ch_allowance")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ch_allowance对象", description="余量表")
public class ChAllowance implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**大类*/
	@Excel(name = "大类", width = 15)
    @ApiModelProperty(value = "大类")
    private String majorCategories;
	/**中类*/
	@Excel(name = "中类", width = 15)
    @ApiModelProperty(value = "中类")
    private String middleClass;
	/**小类*/
	@Excel(name = "小类", width = 15)
    @ApiModelProperty(value = "小类")
    private String littleClass;
	/**长大于*/
	@Excel(name = "长大于", width = 15)
    @ApiModelProperty(value = "长大于")
    private Integer longGreaterThan;
	/**长小于等于*/
	@Excel(name = "长小于等于", width = 15)
    @ApiModelProperty(value = "长小于等于")
    private Integer longLessThanEqual;
	/**长余量*/
	@Excel(name = "长余量", width = 15)
    @ApiModelProperty(value = "长余量")
    private String longAllowance;
	/**宽大于*/
	@Excel(name = "宽大于", width = 15)
    @ApiModelProperty(value = "宽大于")
    private Integer wideGreaterThan;
	/**宽小于等于*/
	@Excel(name = "宽小于等于", width = 15)
    @ApiModelProperty(value = "宽小于等于")
    private Integer wideLessThanEqual;
	/**宽余量*/
	@Excel(name = "宽余量", width = 15)
    @ApiModelProperty(value = "宽余量")
    private String wideAllowance;
	/**高大于*/
	@Excel(name = "高大于", width = 15)
    @ApiModelProperty(value = "高大于")
    private Integer highGreaterThan;
	/**高小于等于*/
	@Excel(name = "高小于等于", width = 15)
    @ApiModelProperty(value = "高小于等于")
    private Integer highLessThanEqual;
	/**高余量*/
	@Excel(name = "高余量", width = 15)
    @ApiModelProperty(value = "高余量")
    private String highAllowance;

    /**长度公差*/
    @Excel(name = "长度公差", width = 15)
    @ApiModelProperty(value = "长度公差")
    private String lengthTolerance;

    /**宽度公差*/
    @Excel(name = "宽度公差", width = 15)
    @ApiModelProperty(value = "宽度公差")
    private String wideTolerance;

    /**高度公差*/
    @Excel(name = "高度公差", width = 15)
    @ApiModelProperty(value = "高度公差")
    private String highTolerance;

    /**是否读基础表*/
    @Excel(name = "是否读基础表", width = 15)
    @ApiModelProperty(value = "是否读基础表")
    private String isReadBasicTable;

    /**是否需要排序*/
    @Excel(name = "是否需要排序", width = 15)
    @ApiModelProperty(value = "是否需要排序")
    private String sortOrNot;

	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
